home *** CD-ROM | disk | FTP | other *** search
/ Power DOS 1996 July / Power DOS - July 1996.iso / sound / c_labs / awe / adip.exe / ADIP02.ZIP / WINDOWS / SAMPLE / AWE_API.H next >
C/C++ Source or Header  |  1994-07-08  |  3KB  |  79 lines

  1. /*
  2. ==============================================================================================================
  3.    Name:             AWE_API.H
  4.  
  5.    Description:      API message function header file for accessing AWEMAN.DLL.
  6.                      This header file contains the possible messages to access the AWEMAN.DLL. 
  7.                      The messages will be process by AWEMAN.DLL and respective operations will be 
  8.                      performed.
  9.  
  10.    Purpose:          Header file meant for accessing APIs of AWEMAN.DLL.
  11.  
  12.    Author:           E.W. Khor
  13.                      Copyright 1993,94 Creative Technology Ltd.
  14.  
  15.    Date:             version 1.0    -     27th Jan 1994
  16.  
  17.    Revision:         Version 1.1    -     29th March 1994
  18.                         AWE_SEND_MIDI added.
  19.                                     -     12th April 1994
  20.                         New API for AWE_GET_UBANK_PARENT added.
  21.                         New API for AWE_GET_DRUM_BANK added.
  22.                                     -     15th April 1994
  23.                         New API for AWE_ISHANDLE added.
  24.                         
  25. ==============================================================================================================
  26. */
  27.  
  28. #ifndef  _AWE_API_H
  29. #define     _AWE_API_H
  30.  
  31. /*
  32. --------------------------------
  33.       Function Category
  34. --------------------------------
  35. */
  36. #define     BASE_INIT                        100
  37. #define     BASE_CONFIG                      200
  38. #define     BASE_QUERY                       300
  39. #define     BASE_MIDI                        400
  40.  
  41. /*
  42. --------------------------------
  43.       Function Messages
  44. --------------------------------
  45. */
  46. #define     AWE_OPEN                         (BASE_INIT+1)
  47. #define     AWE_CLOSE                        (BASE_INIT+2)
  48. /* BEGIN VERSION 1.1 ADD */
  49. #define     AWE_ISHANDLE                     (BASE_INIT+3)
  50. /* END VERSION 1.1 */
  51.  
  52. #define     AWE_REFRESH                      (BASE_CONFIG+1)
  53. #define     AWE_SELECT_EFX                   (BASE_CONFIG+2)
  54. #define     AWE_SELECT_SYN_BANK              (BASE_CONFIG+3)
  55. #define     AWE_LOAD_USER_BANK               (BASE_CONFIG+4)
  56. #define     AWE_CLEAR_USER_BANK              (BASE_CONFIG+5)
  57. #define     AWE_LOAD_USER_INSTR              (BASE_CONFIG+6)
  58. #define     AWE_CLEAR_USER_INSTR             (BASE_CONFIG+7)
  59.  
  60. #define     AWE_QUERY_EFXT_SUPPORT           (BASE_QUERY+1)
  61. #define     AWE_QUERY_EFXV_SUPPORT           (BASE_QUERY+2)
  62. #define     AWE_QUERY_SYN_SUPPORT            (BASE_QUERY+3)
  63. #define     AWE_GET_EFX                      (BASE_QUERY+4)
  64. #define     AWE_GET_SYN_BANK                 (BASE_QUERY+5)
  65. #define     AWE_GET_USER_BANK                (BASE_QUERY+6)
  66. #define     AWE_GET_USER_INSTR               (BASE_QUERY+7)
  67. #define     AWE_QUERY_DRAM_SIZE              (BASE_QUERY+8)
  68. #define     AWE_GET_VERSION                  (BASE_QUERY+9)
  69. /* BEGIN VERSION 1.1 ADD */
  70. #define     AWE_GET_UBANK_PARENT             (BASE_QUERY+10)
  71. #define     AWE_GET_DRUM_BANK                (BASE_QUERY+11)
  72. /* END VERSION 1.1 */
  73.  
  74. /* BEGIN VERSION 1.1 ADD */
  75. #define     AWE_SEND_MIDI                    (BASE_MIDI+1)
  76. /* END VERSION 1.1 */
  77.  
  78. #endif      /* _AWE_API_H */
  79.